#if !defined(AFX_PERLINNOISEDLG_H__756CF014_4A0E_4C51_8969_3BAE8F42951C__INCLUDED_)
#define AFX_PERLINNOISEDLG_H__756CF014_4A0E_4C51_8969_3BAE8F42951C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "NumericEdit.h"
#include "TerrainEditorDoc.h"
#include "FBMTerrain.h"

// PerlinNoiseDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPerlinNoiseDlg dialog

class CPerlinNoiseDlg : public CDialog
{
// Construction
public:
	CPerlinNoiseDlg(CWnd *pParent = NULL, CTerrainEditorDoc *pDoc = NULL);

// Dialog Data
	//{{AFX_DATA(CPerlinNoiseDlg)
	enum { IDD = IDD_PerlinNoise };
	CButton	m_ReSeed;
	CProgressCtrl	m_GenerateProgress;
	CNumericEdit	m_Offset;
	CNumericEdit	m_Octaves;
	CNumericEdit	m_Lacunarity;
	CNumericEdit	m_Gain;
	CNumericEdit	m_H;
	CComboBox		m_BlockSize;
	CComboBox		m_fBmMethod;
	CButton			m_GeneratePerlinNoise;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPerlinNoiseDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
public:

	CfBm m_fBm;

protected:

	CTerrainEditorDoc *m_pDoc;

protected:

	// Generated message map functions
	//{{AFX_MSG(CPerlinNoiseDlg)
	afx_msg void OnButtonGeneratePerlinNoise();
	afx_msg void OnComboSelChangefBmMethod();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PERLINNOISEDLG_H__756CF014_4A0E_4C51_8969_3BAE8F42951C__INCLUDED_)
